﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("DBO.t_ShippingLockCell")]
    public partial class t_ShippingLockCell
    {
        public t_ShippingLockCell()
        {


        }
        /// <summary>
        /// Desc:主键Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:出库单Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? OrderId { get; set; }

        /// <summary>
        /// Desc:出库单明细Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? OrderDetailId { get; set; }

        /// <summary>
        /// Desc:库存Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? InventoryId { get; set; }

        /// <summary>
        /// Desc:仓位Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CellId { get; set; }

        /// <summary>
        /// Desc:仓位编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CellCode { get; set; }

        /// <summary>
        /// Desc:仓位名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CellName { get; set; }

        /// <summary>
        /// Desc:仓位深度
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CellDepthIndex { get; set; }

        /// <summary>
        /// Desc:垛条码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? PalletBarcode { get; set; }

        /// <summary>
        /// Desc:库Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? WhId { get; set; }

        /// <summary>
        /// Desc:组垛Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? StackingStorageId { get; set; }

        /// <summary>
        /// Desc:出库数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? OutQty { get; set; }

        /// <summary>
        /// Desc:库存数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? InventoryQty { get; set; }

        /// <summary>
        /// Desc:序号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? LockIndex { get; set; }

        /// <summary>
        /// Desc:物料Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? MaterialId { get; set; }

        /// <summary>
        /// Desc:物料编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialCode { get; set; }

        /// <summary>
        /// Desc:物料名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialName { get; set; }

        /// <summary>
        /// Desc:物料批次Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? MaterialKeyId { get; set; }

        /// <summary>
        /// Desc:批次号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? BatchNO { get; set; }

        /// <summary>
        /// Desc:是否拣选
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public bool? IsPicking { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RoutewayId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ParentPalletBarcode { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CustomerName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CustomerPhone { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WindowCode { get; set; }

    }
}
